package com.yiyuan.app.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("苹果支付成功结果请求入参")
public class IosPayResultDTO extends BaseIdDTO {

    @ApiModelProperty(value = "苹果票据", required = true)
    @NotBlank(message = "苹果票据不能为空")
    private String receipt;

    @ApiModelProperty(value = "订单id", required = true)
    @NotNull(message = "订单id不能为空")
    private Long orderId;
}
